package HomeWork3;

import HomeWork2.Animal;

public abstract class Animaal {
    String name;
    int age;
    String color;
    Animaal (String name, int age,String color){
        this.name = name;
        this.age = age;
        this.color = color;
    }
    void drink() {
        System.out.println("正在喝水的"+name+"是"+color+"色"+age+"岁的");
    }
    abstract void eat();
}
